package com.yanqu.road.entity.log.cross.hsisland;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;
import com.yanqu.road.entity.log.maidian.BaseLogEntity;

@FieldTypeAnnotation(tableName = "t_l_ck_hs_island_boss", desc = "海神岛-圣柱试炼boss日志", autoSave = true, dataUpload = true, eventName = "seagod_bossopen", uploadCk = true, isCross = true)
public class LogCrossHsIslandBoss extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", dataAttribute = "activityid", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "分组ID", dataAttribute = "group_id", isIndex = true)
    private int groupId;

    @FieldTypeAnnotation(desc = "扣除战意", dataAttribute = "seagod_bossopenuse")
    private long offsetBattleValue;

    @FieldTypeAnnotation(desc = "最新战意值", dataAttribute = "seagod_bossopennow")
    private long battleValue;

    @FieldTypeAnnotation(desc = "bossId", dataAttribute = "seagod_attackid")
    private int bossId;

    @FieldTypeAnnotation(desc = "boss血量", dataAttribute = "seagod_bossfull")
    private long bossHp;

    @FieldTypeAnnotation(desc = "boss战场id")
    private long battleFieldId;

    public LogCrossHsIslandBoss(int activityId, int groupId, long offsetBattleValue, long battleValue, int bossId, long bossHp, long battleFieldId) {
        this.activityId = activityId;
        this.groupId = groupId;
        this.offsetBattleValue = offsetBattleValue;
        this.battleValue = battleValue;
        this.bossId = bossId;
        this.bossHp = bossHp;
        this.battleFieldId = battleFieldId;
    }

    @Override
    public long getUserId() {
        return 0;
    }
}
